
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>中文处理 · 柠檬草资料集合</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="李雪梅 <lixuemei@genomics.cn>">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-ace/ace.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-yahei/yahei.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="match.html" />
    
    
    <link rel="prev" href="glue.html" />
    

    
    <script src="../gitbook/gitbook-plugin-chart/highcharts/highcharts.js"></script>
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    Python
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="data_structure.html">
            
                <a href="data_structure.html">
            
                    
                    数据结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="basic_algorithm.html">
            
                <a href="basic_algorithm.html">
            
                    
                    基础算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="file_input_output.html">
            
                <a href="file_input_output.html">
            
                    
                    文件I/O
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="database.html">
            
                <a href="database.html">
            
                    
                    数据库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="modules.html">
            
                <a href="modules.html">
            
                    
                    模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="glue.html">
            
                <a href="glue.html">
            
                    
                    胶水
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.7" data-path="deal_with_chinese_characters.html">
            
                <a href="deal_with_chinese_characters.html">
            
                    
                    中文处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="match.html">
            
                <a href="match.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="web.html">
            
                <a href="web.html">
            
                    
                    Web
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../ubuntu/">
            
                <a href="../ubuntu/">
            
                    
                    Ubuntu
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../ubuntu/win10.html">
            
                <a href="../ubuntu/win10.html">
            
                    
                    默认win10启动
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >中文处理</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x4E2D;&#x6587;&#x5904;&#x7406;"><a name="&#x4E2D;&#x6587;&#x5904;&#x7406;" class="plugin-anchor" href="#&#x4E2D;&#x6587;&#x5904;&#x7406;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E2D;&#x6587;&#x5904;&#x7406;</h1>
<!-- toc -->
<ul>
<li><a href="#%E5%9C%A8%E5%BC%80%E5%A4%B4%E5%A4%84%E5%A3%B0%E6%98%8Epython%E4%BD%BF%E7%94%A8utf-8%E7%BC%96%E7%A0%81%E6%98%BE%E7%A4%BA%E5%AD%97%E7%AC%A6">&#x5728;&#x5F00;&#x5934;&#x5904;&#x58F0;&#x660E;Python&#x4F7F;&#x7528;UTF-8&#x7F16;&#x7801;&#x663E;&#x793A;&#x5B57;&#x7B26;</a></li>
<li><a href="#%E8%AE%BE%E7%BD%AE%E7%B3%BB%E7%BB%9F%E9%BB%98%E8%AE%A4%E5%AD%97%E7%AC%A6%E7%BC%96%E7%A0%81">&#x8BBE;&#x7F6E;&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x5B57;&#x7B26;&#x7F16;&#x7801;</a></li>
<li><a href="#%E9%81%87%E5%88%B0%E9%9C%80%E8%A6%81%E5%A4%84%E7%90%86%E4%B8%AD%E6%96%87%E7%9A%84%E5%9C%B0%E6%96%B9%EF%BC%8C%E5%B0%B1%E9%9A%8F%E6%97%B6%E8%BF%9B%E8%A1%8Cutf-8%E7%BC%96%E7%A0%81">&#x9047;&#x5230;&#x9700;&#x8981;&#x5904;&#x7406;&#x4E2D;&#x6587;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x5C31;&#x968F;&#x65F6;&#x8FDB;&#x884C;UTF-8&#x7F16;&#x7801;</a></li>
<li><a href="#%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%8C%B9%E9%85%8D%E4%B8%AD%E6%96%87">&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5339;&#x914D;&#x4E2D;&#x6587;</a></li>
</ul>
<!-- tocstop -->
<h2 id="&#x5728;&#x5F00;&#x5934;&#x5904;&#x58F0;&#x660E;python&#x4F7F;&#x7528;utf-8&#x7F16;&#x7801;&#x663E;&#x793A;&#x5B57;&#x7B26;"><a name="&#x5728;&#x5F00;&#x5934;&#x5904;&#x58F0;&#x660E;python&#x4F7F;&#x7528;utf-8&#x7F16;&#x7801;&#x663E;&#x793A;&#x5B57;&#x7B26;" class="plugin-anchor" href="#&#x5728;&#x5F00;&#x5934;&#x5904;&#x58F0;&#x660E;python&#x4F7F;&#x7528;utf-8&#x7F16;&#x7801;&#x663E;&#x793A;&#x5B57;&#x7B26;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5728;&#x5F00;&#x5934;&#x5904;&#x58F0;&#x660E;Python&#x4F7F;&#x7528;UTF-8&#x7F16;&#x7801;&#x663E;&#x793A;&#x5B57;&#x7B26;</h2>
<pre><code class="lang-python"><span class="hljs-comment">#/usr/bin/env python</span>
<span class="hljs-comment"># -*- coding: UTF-8 -*-</span>
</code></pre>
<blockquote>
<p>&#x4F46;&#x8FD9;&#x6837;&#x505A;&#xFF0C;&#x53EA;&#x662F;&#x8BA9;&#x4F60;&#x7684;&#x7A0B;&#x5E8F;&#x5728;&#x8FD0;&#x884C;&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#x663E;&#x793A;&#x4E2D;&#x6587;&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x8981;&#x5C06;&#x4E2D;&#x6587;&#x5B57;&#x7B26;&#x5B58;&#x50A8;&#x5728;&#x6587;&#x4EF6;&#x4E2D;&#xFF0C;&#x6216;&#x8005;&#x5199;&#x5165;&#x5230;&#x6570;&#x636E;&#x5E93;&#x4E2D;&#xFF0C;&#x8FD9;&#x6837;&#x7684;&#x8BBE;&#x7F6E;&#x662F;&#x4E0D;&#x80FD;&#x6EE1;&#x8DB3;&#x4F60;&#x7684;&#x9700;&#x8981;&#x3002;</p>
</blockquote>
<h2 id="&#x8BBE;&#x7F6E;&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x5B57;&#x7B26;&#x7F16;&#x7801;"><a name="&#x8BBE;&#x7F6E;&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x5B57;&#x7B26;&#x7F16;&#x7801;" class="plugin-anchor" href="#&#x8BBE;&#x7F6E;&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x5B57;&#x7B26;&#x7F16;&#x7801;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8BBE;&#x7F6E;&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4;&#x5B57;&#x7B26;&#x7F16;&#x7801;</h2>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> sys
reload(sys)
sys.setdefaultencoding(<span class="hljs-string">&apos;utf-8&apos;</span>)
</code></pre>
<blockquote>
<p>&#x4E5F;&#x8BB8;&#x662F;Python&#x7684;bug&#x5728;import sys&#x540E;&#x5FC5;&#x987B;&#x518D;&#x4E00;&#x6B21;reload(sys)&#xFF0C;&#x4E0B;&#x9762;&#x53BB;&#x8BBE;&#x7F6E;&#x9ED8;&#x8BA4;&#x5B57;&#x7B26;&#x7F16;&#x7801;&#x7684;&#x8BED;&#x53E5;&#x624D;&#x80FD;&#x751F;&#x6548;&#x3002;</p>
</blockquote>
<h2 id="&#x9047;&#x5230;&#x9700;&#x8981;&#x5904;&#x7406;&#x4E2D;&#x6587;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x5C31;&#x968F;&#x65F6;&#x8FDB;&#x884C;utf-8&#x7F16;&#x7801;"><a name="&#x9047;&#x5230;&#x9700;&#x8981;&#x5904;&#x7406;&#x4E2D;&#x6587;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x5C31;&#x968F;&#x65F6;&#x8FDB;&#x884C;utf-8&#x7F16;&#x7801;" class="plugin-anchor" href="#&#x9047;&#x5230;&#x9700;&#x8981;&#x5904;&#x7406;&#x4E2D;&#x6587;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x5C31;&#x968F;&#x65F6;&#x8FDB;&#x884C;utf-8&#x7F16;&#x7801;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x9047;&#x5230;&#x9700;&#x8981;&#x5904;&#x7406;&#x4E2D;&#x6587;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x5C31;&#x968F;&#x65F6;&#x8FDB;&#x884C;UTF-8&#x7F16;&#x7801;</h2>
<blockquote>
<p>&#x7ECF;&#x5E38;&#x4F1A;&#x9047;&#x5230;&#x7684;&#x662F;&#xFF0C;&#x8FDB;&#x884C;&#x4E86;&#x7B2C;&#x4E00;&#x6B65;&#x548C;&#x7B2C;&#x4E8C;&#x6B65;&#x8BBE;&#x7F6E;&#x540E;&#xFF0C;&#x8FD8;&#x662F;&#x65E0;&#x6CD5;&#x6B63;&#x5E38;&#x663E;&#x793A;&#x548C;&#x5904;&#x7406;&#x4E2D;&#x6587;&#x5B57;&#x7B26;&#xFF0C;&#x8FD9;&#x65F6;&#x4E5F;&#x53EA;&#x80FD;&#x968F;&#x7528;&#x968F;&#x7F16;&#x7801;&#x4E86;&#x3002; 
&#x5047;&#x8BBE;&#x5F85;&#x5904;&#x7406;&#x5B57;&#x7B26;&#x4E32;&#x4E3A; <strong>string</strong> </p>
</blockquote>
<pre><code class="lang-python"># &#x5BF9;string&#x8FDB;&#x884C;UTF-8&#x7F16;&#x7801;
def encode_utf8(string):
    return string.encode(&apos;utf-8&apos;)

# &#x5BF9;string&#x8FDB;&#x884C;UTF-8&#x89E3;&#x7801;
def decode_utf8(string)
    return unicode(string, encoding=&apos;utf-8&apos;)
</code></pre>
<h2 id="&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5339;&#x914D;&#x4E2D;&#x6587;"><a name="&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5339;&#x914D;&#x4E2D;&#x6587;" class="plugin-anchor" href="#&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5339;&#x914D;&#x4E2D;&#x6587;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5339;&#x914D;&#x4E2D;&#x6587;</h2>
<pre><code class="lang-python"><span class="hljs-comment"># -*- coding: utf-8 -*-</span>
<span class="hljs-keyword">import</span> re
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">findPart</span><span class="hljs-params">(regex, text, name)</span>:</span>
    res = re.findall(regex, text)
    <span class="hljs-keyword">if</span> res:
        <span class="hljs-keyword">print</span> <span class="hljs-string">&quot;There are %d %s parts:\n&quot;</span>% (len(res), name)
    <span class="hljs-keyword">for</span> r <span class="hljs-keyword">in</span> res:
        <span class="hljs-keyword">print</span> <span class="hljs-string">&quot;\t&quot;</span>, r.encode(<span class="hljs-string">&quot;utf8&quot;</span>)
    <span class="hljs-keyword">print</span>
text = <span class="hljs-string">&quot;#who#helloworld#a&#x4E2D;&#x6587;x#&quot;</span>
usample = unicode(text,<span class="hljs-string">&apos;utf8&apos;</span>)
findPart(<span class="hljs-string">u&quot;#[\w\u2E80-\u9FFF]+#&quot;</span>, usample, <span class="hljs-string">&quot;unicode chinese&quot;</span>)
</code></pre>
<blockquote>
<p>&#x51E0;&#x4E2A;&#x4E3B;&#x8981;&#x975E;&#x82F1;&#x6587;&#x8BED;&#x7CFB;&#x5B57;&#x7B26;&#x8303;&#x56F4;
2E80&#xFF5E;33FFh&#xFF1A;&#x4E2D;&#x65E5;&#x97E9;&#x7B26;&#x53F7;&#x533A;&#x3002;&#x6536;&#x5BB9;&#x5EB7;&#x7199;&#x5B57;&#x5178;&#x90E8;&#x9996;&#x3001;&#x4E2D;&#x65E5;&#x97E9;&#x8F85;&#x52A9;&#x90E8;&#x9996;&#x3001;&#x6CE8;&#x97F3;&#x7B26;&#x53F7;&#x3001;&#x65E5;&#x672C;&#x5047;&#x540D;&#x3001;&#x97E9;&#x6587;&#x97F3;&#x7B26;&#xFF0C;&#x4E2D;&#x65E5;&#x97E9;&#x7684;&#x7B26;&#x53F7;&#x3001;&#x6807;&#x70B9;&#x3001;&#x5E26;&#x5708;&#x6216;&#x5E26;&#x62EC;&#x7B26;&#x6587;&#x6570;&#x5B57;&#x3001;&#x6708;&#x4EFD;&#xFF0C;&#x4EE5;&#x53CA;&#x65E5;&#x672C;&#x7684;&#x5047;&#x540D;&#x7EC4;&#x5408;&#x3001;&#x5355;&#x4F4D;&#x3001;&#x5E74;&#x53F7;&#x3001;&#x6708;&#x4EFD;&#x3001;&#x65E5;&#x671F;&#x3001;&#x65F6;&#x95F4;&#x7B49;&#x3002;
3400&#xFF5E;4DFFh&#xFF1A;&#x4E2D;&#x65E5;&#x97E9;&#x8BA4;&#x540C;&#x8868;&#x610F;&#x6587;&#x5B57;&#x6269;&#x5145;A&#x533A;&#xFF0C;&#x603B;&#x8BA1;&#x6536;&#x5BB9;6,582&#x4E2A;&#x4E2D;&#x65E5;&#x97E9;&#x6C49;&#x5B57;&#x3002;
4E00&#xFF5E;9FFFh&#xFF1A;&#x4E2D;&#x65E5;&#x97E9;&#x8BA4;&#x540C;&#x8868;&#x610F;&#x6587;&#x5B57;&#x533A;&#xFF0C;&#x603B;&#x8BA1;&#x6536;&#x5BB9;20,902&#x4E2A;&#x4E2D;&#x65E5;&#x97E9;&#x6C49;&#x5B57;&#x3002;
A000&#xFF5E;A4FFh&#xFF1A;&#x5F5D;&#x65CF;&#x6587;&#x5B57;&#x533A;&#xFF0C;&#x6536;&#x5BB9;&#x4E2D;&#x56FD;&#x5357;&#x65B9;&#x5F5D;&#x65CF;&#x6587;&#x5B57;&#x548C;&#x5B57;&#x6839;&#x3002;
AC00&#xFF5E;D7FFh&#xFF1A;&#x97E9;&#x6587;&#x62FC;&#x97F3;&#x7EC4;&#x5408;&#x5B57;&#x533A;&#xFF0C;&#x6536;&#x5BB9;&#x4EE5;&#x97E9;&#x6587;&#x97F3;&#x7B26;&#x62FC;&#x6210;&#x7684;&#x6587;&#x5B57;&#x3002;
F900&#xFF5E;FAFFh&#xFF1A;&#x4E2D;&#x65E5;&#x97E9;&#x517C;&#x5BB9;&#x8868;&#x610F;&#x6587;&#x5B57;&#x533A;&#xFF0C;&#x603B;&#x8BA1;&#x6536;&#x5BB9;302&#x4E2A;&#x4E2D;&#x65E5;&#x97E9;&#x6C49;&#x5B57;&#x3002;
FB00&#xFF5E;FFFDh&#xFF1A;&#x6587;&#x5B57;&#x8868;&#x73B0;&#x5F62;&#x5F0F;&#x533A;&#xFF0C;&#x6536;&#x5BB9;&#x7EC4;&#x5408;&#x62C9;&#x4E01;&#x6587;&#x5B57;&#x3001;&#x5E0C;&#x4F2F;&#x6765;&#x6587;&#x3001;&#x963F;&#x62C9;&#x4F2F;&#x6587;&#x3001;&#x4E2D;&#x65E5;&#x97E9;&#x76F4;&#x5F0F;&#x6807;&#x70B9;&#x3001;&#x5C0F;&#x7B26;&#x53F7;&#x3001;&#x534A;&#x89D2;&#x7B26;&#x53F7;&#x3001;&#x5168;&#x89D2; </p>
</blockquote>
<footer class="page-footer"><span class="copyright">Copyright(C) 2018, &#x674E;&#x96EA;&#x6885; <lixuemei@genomics.cn> all right reserved&#xFF0C;powered by Gitbook</lixuemei@genomics.cn></span><span class="footer-modification">&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-03-07 17:56:14
</span></footer>


<script type="text/javascript">var targetUl = document.getElementsByClassName('page-inner')[0].getElementsByTagName('ul')[0];if(targetUl.getElementsByTagName('a').length>0){targetUl.className='toc';}</script>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="glue.html" class="navigation navigation-prev " aria-label="Previous page: 胶水">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="match.html" class="navigation navigation-next " aria-label="Next page: 正则表达式">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"中文处理","level":"1.2.7","depth":2,"next":{"title":"正则表达式","level":"1.2.8","depth":2,"path":"python/match.md","ref":"python/match.md","articles":[]},"previous":{"title":"胶水","level":"1.2.6","depth":2,"path":"python/glue.md","ref":"python/glue.md","articles":[]},"dir":"ltr"},"config":{"plugins":["tbfed-pagefooter","ace","splitter","yahei","toc","anchor-navigation","-search","-lunr","search-pro","-sharing","sharing-plus","anchors","copy-code-button","alerts","include-csv","chart"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright(C) 2018, 李雪梅 <lixuemei@genomics.cn>","modify_label":"修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"include-csv":{},"ace":{},"yahei":{},"splitter":{},"search-pro":{"cutWordLib":"nodejieba","defineWord":["Gitbook Use"]},"toc":{"addClass":true,"className":"toc"},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"anchor-navigation":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"alerts":{},"copy-code-button":{},"sharing":{"qq":true,"all":["facebook","google","twitter","weibo","instapaper","linkedin","pocket","stumbleupon"],"douban":true,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":true},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"chart":{"type":"highcharts"}},"theme":"default","author":"李雪梅 <lixuemei@genomics.cn>","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"柠檬草资料集合","language":"zh-hans","gitbook":"*","description":"柠檬草资料集合"},"file":{"path":"python/deal_with_chinese_characters.md","mtime":"2018-03-07T09:56:14.512Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-03-07T09:57:15.687Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-alerts/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

